import Vue from 'vue'
// @ts-ignore
import App from './App.vue'
import router from './router/index'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

import store from './store'


Vue.config.productionTip = false

Vue.use(ElementUI)
new Vue({

    render: h => h(App),
    store: store,
    router: router,
    beforeCreate() {
        Vue.prototype.$bus = this
    },

}).$mount('#app')